package com.zlq.cn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 为你写诗
 * </p>
 *
 * @author zhoucl
 * @since 2022-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wnxs_poetry")
@ApiModel(value="WnxsPoetry对象", description="为你写诗")
public class WnxsPoetry implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "诗集id")
    @TableId(value = "wnxs_poetry_id", type = IdType.AUTO)
    private Integer wnxsPoetryId;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "用户id")
    private String userId;


}
